package org.example.novelcrawler.model;

import lombok.Data;

@Data
public class Chapter {
    private int index;
    private String title;
    private String content;
    private String url;

    // 构造方法、getter和setter
    public Chapter() {}

    public Chapter(int index, String title, String content, String url) {
        this.index = index;
        this.title = title;
        this.content = content;
        this.url = url;
    }

    // 省略getter和setter方法
}